@charset "utf-8";
/*
Theme Name      PRINT University of St Andrews 2008
Theme URI       http://www.st-andrews.ac.uk
Description     Printer-friendly stylesheet
Version         5.1.1
Author          gjms1
Last updated    Thursday 19 January 2012

================================================================================
    PAGE STRUCTURE
================================================================================
*/
.container {
    background: none;
}
body {
    background: none;
    color: #000;
    font-family: "Myriad Roman", "Myriad Pro", "Arial", sans-serif;
    font-size: 11pt;
    letter-spacing: 0.2pt;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    width: 100%;
    word-spacing: 1.1pt;
}
#header h1 a {
    text-decoration: none;
}
#relatedcontent {
    border-top: 1px solid #000;
    margin-top: 1em;
}
#footer-charity {
    left: 0;
    margin: 0;
    padding: 0;
    text-align: left;
}
#footer-charity:before {
    content: "Copyright ";
}

/*==============================================================================
    REMOVE FROM PRINTED VERSION
==============================================================================*/

#skiptocontent,
#topnavbar, #navglobal, #navsearch,
#navmain,
#header.js-enabled,
#header form,
#header img,
#breadcrumbs,
#welcomeimage, #featurenav,
#sidebar,
#footer-links {
    display: none;
}

/*==============================================================================
    DISPLAY PRINT-ONLY HEADER
==============================================================================*/
#print-header {
    display: block;
}

#print-header img {
    height: auto;
    max-width: 100%;
    width: 20cm;
}

/*==============================================================================
    HEADINGS
==============================================================================*/

h1, h2, h3, h4, h5, h6 {
    font-family: Palatino, "Palatino Roman", "Palatino Regular", "Book Antiqua", Georgia, Times, serif;
    font-weight: normal;
    line-height: normal;
    margin-bottom: 0;
    padding: 0;
}
h4, h5, h6 {
    font-family: "Myriad Roman", "Myriad Pro", "Arial", sans-serif;
}
h1 {font-size: 24pt;}
h2 {font-size: 18pt;}
h3 {font-size: 14pt;}
h4 {font-size: 12pt;}
h5 {font-size: 11pt; font-weight: bold;}
h6 {font-size: 10pt; font-style: italic}

/*==============================================================================
    HTML
==============================================================================*/

a:link,
a:visited {
    background: transparent;
    color: #000;
    font-weight: normal;
    text-decoration: underline;
}
a img {
    border: none;
}
blockquote {
    font-size: 0.9em;
    font-style: italic;
    margin: 1.5em;
    padding: 1em;
}
code {
    font: 0.9em "Courier New", Monaco, Courier, monospace;
}
hr {
    background: #ccc;
    border: none;
    color: #ccc;
    height: 2px;
    margin: 2em 0;
    padding: 0;
    width: 100%;
}
hr.space {
    background: #fff;
    color: #fff;
}

#content img {
    clear: both;
    margin:1.5em 1.5em 1.5em 0;
    max-width: 100%;
    height: auto;
}


/*==============================================================================
    TABLE
==============================================================================*/
table {
    margin: 1px;
    text-align: left;
    width: 100%;
}
th {
    border-bottom: 1px solid #333;
    font-weight: bold;
}
tr {
    page-break-inside: avoid;
}
td {
    border-bottom: 1px solid #333;
}
th, td {
    padding: 4px 10px 4px 0;
}
tfoot {
    font-style: italic;
}
caption {
    background: #fff;
    margin-bottom: 2em;
    text-align:left;
}
thead {
    display: table-header-group;
}


/*==============================================================================
    CLASSES
==============================================================================*/

.box {
    border: 2px solid dimgray;
    padding: 12px;
}
.box a,
.box p {
    margin: 0;
    padding: 0;
}
.box h3 {margin-top: 0;}
.hide,
.hidden {display: none;}
.large  {font-size: 1.1em;}
.small  {font-size: 0.9em;}
.pagebreak {page-break-before: always;}
.quiet  {color: #999;}

/*==============================================================================
    REPLACED CONTENT
==============================================================================*/

/* Replace content - print URLs (but not in-page #links)
==============================================================================*/
#content a[href^="http://"]:link:after,#content a[href^="http://"]:visited:after,
#content a[href^="https://"]:link:after,#content a[href^="https://"]:visited:after,
#content a[href^="mailto:"]:link:after,#content a[href^="mailto"]:visited:after,
#relatedcontent a[href^="http://"]:link:after,#relatedcontent a[href^="http://"]:visited:after,
#relatedcontent a[href^="https://"]:link:after,#relatedcontent a[href^="https://"]:visited:after,
#relatedcontent a[href^="mailto:"]:link:after,#relatedcontent a[href^="mailto:"]:visited:after {
    border: 0;
    color: #000;
    content: " (" attr(href) ") ";
    font-size: 90%;
}
#content a[href^="#"]:link:after,
#content a[href^="#"]:visited:after,
#relatedcontent a[href^="#"]:link:after,
#relatedcontent a[href^="#"]:visited:after,
#content a[rel="contents"]:after {
    content :"";
}
/* Print abbreviations and acronym titles after content */
#content abbr:after,
#content acronym:after {
    content: " (" attr(title) ") ";
}